how to override default name for apiresourc route in laravel

104

how to override default name for apiresourc route in laravel -

Route::resource('photo', 'PhotoController', ['parameters' => [
    'photo' => 'user_photo'
]]);

Comments

Submit
0 Comments